<?php

class Meta_Model extends CI_Model
{
	function __construct()
	{
		parent::__construct();
	}
	
	function get_meta($page)
	{
		$sql = $this->db->get_where('meta_tag', array('page' => $page));
		
		if($sql->num_rows() > 0 )
		{
			return $sql->row_array();
		} else {
			return NULL;
		}
	}
}